package com.tyy.springboot.controller;

import com.tyy.springboot.mapper.TestMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;

@Controller
public class TestController {
    @Autowired(required = true)
    private TestMapper testMapper;


    public String hello() {
        testMapper.delete("1");
        return "Hello World!";
    }
}
